package com.its.us.sk.server.tcp.code;

import com.its.us.sk.server.tcp.handler.InitQZServerHandler;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.SocketChannel;

/**
 * @Author: master
 * @Date: 2020/11/24 8:56
 * @Version: 1.0
 */
public class DeCodeInitializer extends ChannelInitializer<SocketChannel> {
    public DeCodeInitializer() {
    }


    @Override
    protected void initChannel(SocketChannel ch) throws Exception {
        // 加入自己的业务处理
        ch.pipeline().addLast(new InitQZServerHandler());
    }
}
